.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* 使内容垂直居中 */
    background: linear-gradient(135deg, #f0f4f8, #c9d6ff);
    font-family: 'Arial', sans-serif;
}

.result-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 300px; /* 限制卡片宽度 */
    transition: transform 0.3s;
}

.result-card:hover {
    transform: translateY(-5px); /* 悬停效果 */
}

.result-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.result-message {
    font-size: 18px;
    color: #555;
}

.grade {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50; /* 成绩的颜色 */
    border: 2px solid #4CAF50;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(76, 175, 80, 0.1); /* 成绩背景色 */
}
